dataSource {
   pooled = true
   driverClassName = "com.mysql.jdbc.Driver"
}
hibernate {
   cache.use_second_level_cache = true
   cache.use_query_cache = true
   cache.provider_class = 'net.sf.ehcache.hibernate.EhCacheProvider'
}
// environment specific settings
environments {
   development {
       dataSource {
		   dbCreate = "update"
           url = "jdbc:mysql://localhost:3306/imobiliaria"
           username = "root"
           password = "root"
       }
   }
   test {
       dataSource {
           url = "jdbc:mysql://mysql/tests"
           username = "Benjamin"
           password = "Linus"
       }
   }
   production {
       dataSource {
            url = "jdbc:mysql://mysql/production"
            username = "Jack"
            password = "Shephard"
       }
   }
}